<template>
    <section class="login">
        <article>
            <van-button type="primary" size="large" @click="$router.push('/bangding1')">已分配学号，直接绑定</van-button>
            <van-button type="info" size="large" color="#F5BB19" @click="$router.push('/bangding2')">未分配学号，绑定学生</van-button>
        </article>
    </section>
</template>

<script>
    export default {
        name: "bangding",
        data(){
            return {

            }
        },
        mounted() {
            // this.$https.fetchGet('/login_token').then(res => {
            //     this.$store.commit('login_token',res.data)
            // })
        }
    }
</script>

<style scoped lang="less">
.login{
    width: 100%;
    background: url("~path_img/logo.jpg") center no-repeat;
    background-size: 100% 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-items: center;
    padding: 0 .6rem;
    article{
        width: 100%;
        button{
            border-radius: .4rem;
            height: 55px;
            margin-bottom: .5rem;
        }
    }

}
</style>
<style>
    #app{
        min-height: 100%;
        height: 100%;
    }
</style>
